package com.wxx;

/**
 * @author: Jetwang
 * @date: 2022/3/27 21:52
 * @description: QueueTest 队列测试
 * @version: 1.0
 */
public class QueueTest {
    public static void main(String[] args) {
        ArrayQueue<Integer> queue = new ArrayQueue<>();
        for (int i = 0; i < 5; i++) {
            queue.enqueue(i);
            System.out.println(queue);
        }
        queue.dequeue();
        System.out.println(queue);
    }
}
